//
//  UIColor+CRBColor.m
//  ChampsARotate
//
//  Created by Login.Fan on 2018/10/22.
//  Copyright © 2018 Logan.Fan. All rights reserved.
//

#import "UIColor+CRBColor.h"

#define COLOR_RGBA(r,g,b,a) [UIColor colorWithRed:(r)/255.f green:(g)/255.f blue:(b)/255.f alpha:(a)/1.f]

@implementation UIColor (CRBColor)

/** 视图背景深灰色*/
+ (UIColor *)viewBGColorDarkGrey {return COLOR_RGBA(204, 204, 204, 1);}

/** 视图背景浅灰色*/
+ (UIColor *)viewBGColorLightGrey {return COLOR_RGBA(245, 245, 245, 1);}

/** 主题蓝色*/
+ (UIColor *)viewMainColorBlue {return COLOR_RGBA(122, 132, 237, 1);}

/** 视图主题高亮*/
+ (UIColor *)viewMainHighColorBlue {return COLOR_RGBA(104, 63, 226, 1);}

/** 辅助紫色*/
+ (UIColor *)viewAssistColorPurple {return  COLOR_RGBA(197, 33, 254, 1);}

/** Cell分割线颜色*/
+ (UIColor *)cellSeparatorColorGrey {return COLOR_RGBA(235, 232, 232, 1);}

/** 导航栏白色*/
+ (UIColor *)navigationBarWhite {return UIColor.whiteColor;}

/** 链接蓝色*/
+ (UIColor *)linkColorBlue {return  COLOR_RGBA(54, 0, 217, 1);}

/** 字体灰色*/
+ (UIColor *)fontBGColorGrey {return COLOR_RGBA(153, 153, 153, 1);}

/** 字体深灰色*/
+ (UIColor *)fontColorDarkGrey {return COLOR_RGBA(51, 51, 51, 1);}

/** 导航栏标题字体*/
+ (UIColor *)fontNavigationGrey {return COLOR_RGBA(51, 51, 51, 1);}

/** 低电量字体*/
+ (UIColor *)fontLowBatteryRad {return COLOR_RGBA(255, 111, 111, 1);}


@end
